import logging
from config.config import LOG_LEVEL

# 配置日志
logging.basicConfig(
   level=LOG_LEVEL,  # 设置日志级别
   format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",  # 设置日志格式
   datefmt="%Y-%m-%d %H:%M:%S",  # 设置日志时间格式
)

